import {BACKUPS} from '../types/xtype'
export default {
    state: {
        regButtn: false,
        regTeleFrom: {
            jiemaCode: '',
            jiemaAccount: '',
            jiemaPassWord: '',
            newType: '',
            userName: '',
            userPassword: '',
            nameType: '',
            kashangId: '',
            regCount: 1,
            slider: 1
        }
    },
    mutations: {
        [BACKUPS] (state, regData) {
          state.regTeleFrom = regData
        }
    },
    actions: {
        backups ({ commit }, data) {
            console.info(data, 11111111111)
            commit(BACKUPS, data)
        }
    }
}
